package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_role_data_permission")
public class RoleDataPermissionEntity {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 角色id
     */
    private String roleId;

    /**
     * 数据库表名
     */
    private String tableName;

    /**
     * 数据库表注释
     */
    private String tableComment;

    /***
     * 数据库字段
     */
    private String tableField;
    /***
     * 数据库字段注释
     */
    private String tableFieldComment;

    /***
     * sql操作类型(作为预留默认1)
     */
    private int sqlType;
}
